package com.htz.agency.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author tang
 * @date 2025年06月27日 20:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnnouncementCategory {
    @TableId
    private Integer id;

    private String name;

    private String code;

    private Integer sortOrder = 0;

    private Integer isActive ;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
